<%@ page pageEncoding="UTF-8" language="java"%>
<%@ include file="/resource.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Spring Security Example</title>
</head>
<body>
	<div>${not empty error? "Invalid username and password." : ""}</div>
	<div>${not empty logout? "You have been logged out." : ""}</div>
	<form action="${APP_URL}/login" method="post">
		<div>
			<label> User Name : <input type="text" name="username" />
			</label>
		</div>
		<div>
			<label> Password: <input type="password" name="password" />
			</label>
		</div>
		<div>
			<input type="submit" value="Sign In" />
		</div>
		<input type="checkbox" name="remember-me" value="true"checked="checked" />
		<p>Remember me</p>
	</form>
</body>
</html>
